﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Infrastructure.Core.ErrorCode
{
    /// <summary>
    /// 错误编码门面
    /// </summary>
    public class ErrorCodeFacade
    {
        /// <summary>
        /// 生成错误编码对应的字符
        /// </summary>
        /// <param name="implement"></param>
        /// <param name="errCode"></param>
        /// <returns></returns>
        public static string CreateErrorCodeToString(IErrorToString implement, int errCode)
        {
            return implement.ErrorCodeToString(errCode);
        }
    }
}
